import { makeStyles } from '@material-ui/core/styles'

const useStyles = makeStyles({
    root: {
        width: '25%'
    }
})

function Image({ src, alt = '' }) {
    return (
        <img className={ useStyles().root } src={ src } alt={ alt } />
    )
}

export default Image